FUNCTION

big_integer.from_text

purestatic function from_text(value: text): big_integer

Parse a signed base-10 text representation of an integer.

Parameters

  • value — the text to parse

Throws

  • exception — if the text is ill-formed

Since

0.12.0


purestatic function from_text(value: text, radix: integer): big_integer

Parse a signed text representation of an integer. The integer is interpreted in the specified radix (from 2 to 36 inclusive).

Parameters

  • value — the text to parse
  • radix — the radix with which to interpret value

Throws

  • exception — when - the text is ill-formed - the radix is outside the supported range

Since

0.12.0

© 2026 Chromia